package com.example.yk2021xm04.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.yk2021xm04.pojo.Project;
import com.example.yk2021xm04.pojo.ProjectUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 项目-成员表 Mapper 接口
 * </p>
 *
 * @author ZengQi
 * @since 2021-11-26
 */
public interface ProjectUserMapper extends BaseMapper<ProjectUser> {

    String findProjectLeaderByCreateId(Integer createId);

    List<Map<String, Object>> detail(Integer id);
}
